package com.example.administrator.szb.bean;
import java.util.List;

/**
 * Created by D N on 2017/11/3.
 * 业务标签管理bean
 */

public class YWBQGLBean{

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : [{"id":109,"title":"股票质押","describe":"提成","next":[{"id":110,"title":"所属行业","next":[{"id":164,"title":"两高一剩"}]},{"id":125,"title":"折扣率","next":[{"id":162,"title":"五折及以上"}]},{"id":131,"title":"股票属性","next":[{"id":132,"title":"限售股"},{"id":133,"title":"流通股"}]},{"id":137,"title":"可接盘股票市场","next":[{"id":157,"title":"中小创"}]},{"id":167,"title":"st或负面信息","next":[{"id":168,"title":"st"},{"id":169,"title":"被处罚"}]}]},{"id":140,"title":"股票增值","describe":"","next":[]},{"id":141,"title":"分红避税","describe":"","next":[]}]
     */

    private int result;
    private int err_code;
    private String err_msg;
    private List<DataBean> data;


    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }



    public static class DataBean {
        /**
         * id : 109
         * title : 股票质押
         * describe : 提成
         * next : [{"id":110,"title":"所属行业","next":[{"id":164,"title":"两高一剩"}]},{"id":125,"title":"折扣率","next":[{"id":162,"title":"五折及以上"}]},{"id":131,"title":"股票属性","next":[{"id":132,"title":"限售股"},{"id":133,"title":"流通股"}]},{"id":137,"title":"可接盘股票市场","next":[{"id":157,"title":"中小创"}]},{"id":167,"title":"st或负面信息","next":[{"id":168,"title":"st"},{"id":169,"title":"被处罚"}]}]
         */

        private int id;
        private String title;
        private String describe;
        private List<NextBeanX> next;
        private int showCheckbox;//0,代表不显示，1，代表显示。

        public int getShowCheckbox() {
            return showCheckbox;
        }

        public void setShowCheckbox(int showCheckbox) {
            this.showCheckbox = showCheckbox;
        }
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public List<NextBeanX> getNext() {
            return next;
        }

        public void setNext(List<NextBeanX> next) {
            this.next = next;
        }

        public static class NextBeanX {
            /**
             * id : 110
             * title : 所属行业
             * next : [{"id":164,"title":"两高一剩"}]
             */

            private int id;
            private String title;
            private String isYXZ = "已选择";//是否显示已选择
            private int genre;
            public String getIsYXZ() {
                return isYXZ;
            }
            private int isChoose;//0,代表没选中，1，代表选中
            public void setIsYXZ(String isYXZ) {
                this.isYXZ = isYXZ;
            }

            private List<NextBean> next;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public List<NextBean> getNext() {
                return next;
            }

            public void setNext(List<NextBean> next) {
                this.next = next;
            }

            public int getGenre() {
                return genre;
            }

            public void setGenre(int genre) {
                this.genre = genre;
            }

            public int getIsChoose() {
                return isChoose;
            }

            public void setIsChoose(int isChoose) {
                this.isChoose = isChoose;
            }

            public static class NextBean {

                /**
                 * id : 164
                 * title : 两高一剩
                 * genre : 1
                 */

                private int id;
                private String title;
                private int genre;
                private int is_repeal;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                private int type = 1;

                public int getIs_repeal() {
                    return is_repeal;
                }

                public void setIs_repeal(int is_repeal) {
                    this.is_repeal = is_repeal;
                }

                public int getInterior() {
                    return interior;
                }

                public void setInterior(int interior) {
                    this.interior = interior;
                }

                private int interior;

                private int isChoose;//0,代表没选中，1，代表选中

                public int getIsChoose() {
                    return isChoose;
                }

                public void setIsChoose(int isChoose) {
                    this.isChoose = isChoose;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public int getGenre() {
                    return genre;
                }

                public void setGenre(int genre) {
                    this.genre = genre;
                }
            }
        }
    }
}
